<template>
    <h5>父组件</h5>
    <div class="box">
        <GlobalComponent />
        <LocalComponent />
    </div>
</template>
<style scoped>
.box{
    display: flex;
}
h5{
    border: 1px dotted black;
}
:deep(.title){
    border: 3px dotted red;
}
</style>
<script setup>
import LocalComponent from './LocalComponent.vue';

</script>